package com.edu.exam.enums.examination.paper;

/**
 * 格式验证枚举
 *
 * 从ExamNumberResult实体类中提取的独立枚举
 *
 * @author System
 * @version 1.0.0
 */
public enum FormatValidation {
    VALID("有效"),
    INVALID("无效"),
    INCOMPLETE("不完整"),
    CORRUPTED("损坏"),
    MISSING("缺失"),
    MALFORMED("格式错误"),
    TOO_SHORT("过短"),
    TOO_LONG("过长"),
    INVALID_CHARACTERS("包含无效字符"),
    WRONG_CHECKSUM("校验和错误"),
    DUPLICATE("重复"),
    EXPIRED("已过期"),
    PENDING("待验证"),
    UNKNOWN("未知"),
    PARTIAL("部分有效"),
    CONDITIONAL("有条件有效"),
    TEMPORARY("临时有效"),
    PERMANENT("永久有效"),
    FLAGGED("已标记"),
    SUSPICIOUS("可疑"),
    REQUIRES_REVIEW("需要审核"),
    AUTO_REJECTED("自动拒绝"),
    MANUAL_REQUIRED("需要手动验证"),
    SYSTEM_VALIDATED("系统验证"),
    USER_VALIDATED("用户验证"),
    THIRD_PARTY_VALIDATED("第三方验证");

    private final String description;

    FormatValidation(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    /**
     * 获取显示名称（中文）
     *
     * @return 中文显示名称
     */
    public String getDisplayName() {
        return description;
    }
}